package com.six666.medicaldevicetestingsystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.six666.medicaldevicetestingsystem.dto.Personal_Compare_DTO;
import com.six666.medicaldevicetestingsystem.entity.Project;
import com.six666.medicaldevicetestingsystem.entity.ProjectTest;

import java.util.List;

public interface Project_Service extends IService<Project> {
    List<Project> get_all_project();
    List<Project> get_by_keyword(String projectName);
    List<Personal_Compare_DTO> get_my_project(List<ProjectTest> test);
    List<String> get_all_sn();
    Project get_by_id(int id);

    int gen_project(List<List<String>> data);
    boolean save_new_project(String projectName,String projecttype,String categories,String standardnumber);
    String get_standard_by_project_id(int projectId);
}
